import React from 'react';
import { connect } from 'react-redux';
import VisitReminder from '../components/Home/details/VisitReminder';

class VisitRemindContainer extends React.Component {
  render() {
    return (
      <VisitReminder {...this.props} />
    );
  }
}

export default connect((state) => {
  const { visit } = state.MyCustomerDetailReducer;
  return {
    visit,
  };
})(VisitRemindContainer);
